package com.spring.lazyInitialization;

public class Address {

	public Address() {
		System.out.println("Inside Address Constructor");
	}

	private String city;
	private String state;
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
@ Override
public String toString(){
	return this.getState()+":"+this.getCity()+".";
}
public Address(String city, String state) {
	super();
	this.city = city;
	this.state = state;
}

}
